home *** CD-ROM | disk | FTP | other *** search
- ;; ta-itrans.mim -- Tamil input method with ITRANS method
- ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
- ;; National Institute of Advanced Industrial Science and Technology (AIST)
- ;; Registration Number H15PRO112
-
- ;; This file is part of the m17n database; a sub-part of the m17n
- ;; library.
-
- ;; The m17n library is free software; you can redistribute it and/or
- ;; modify it under the terms of the GNU Lesser General Public License
- ;; as published by the Free Software Foundation; either version 2.1 of
- ;; the License, or (at your option) any later version.
-
- ;; The m17n library is distributed in the hope that it will be useful,
- ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
- ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- ;; Lesser General Public License for more details.
-
- ;; You should have received a copy of the GNU Lesser General Public
- ;; License along with the m17n library; if not, write to the Free
- ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- ;; Boston, MA 02110-1301, USA.
-
- (input-method ta itrans)
-
- (description "Tamil input method by ITRANS transliteration.
- For the detail of ITRANS, see the page:
- <http://www.aczoom.com/itrans/>
- ")
-
- (title "α«ò")
-
- (map
- (starter
- (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
- ("0") ("1") ("2") ("3") ("4")
- ("5") ("6") ("7") ("8") ("9")
- ("A") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") ("L")
- ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
- ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
- ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
- ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z")
- ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
- ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0)))
-
- (consonant
- ("k" "க்")
- ("g" "க்")
- ("~N" "ங்")
- ("N^" "ங்")
- ("ch" "ச்")
- ("j" "ஜ்")
- ("~n" "ஞ்")
- ("JN" "ஞ்") ; not in ITRANS Tamil table
- ("T" "ட்")
- ("Th" "ட்")
- ("N" "ண்")
- ("t" "த்")
- ("th" "த்")
- ("n" "ந்")
- ("^n" "ன்")
- ("nh" "ன்") ; not in ITRANS Tamil table
- ("p" "ப்")
- ("b" "ப்")
- ("m" "ம்")
- ("y" "ய்")
- ("r" "ர்")
- ("R" "ற்")
- ("rh" "ற்") ; not in ITRANS Tamil table
- ("l" "ல்")
- ("L" "ள்")
- ("ld" "ள்")
- ("J" "ழ்")
- ("z" "ழ்")
- ("v" "வ்")
- ("w" "வ்")
- ("sh" "ஶ்")
- ("Sh" "ஷ்")
- ("shh" "ஷ்") ; not in ITRANS Tamil table
- ("s" "ஸ்")
- ("h" "ஹ்")
- ("GY" "ஜ்ஞ்") ; not in ITRANS Tamil table
- ("dny" "ஜ்ஞ்") ; not in ITRANS Tamil table
- ("x" "க்ஷ்")
- ("ksh" "க்ஷ்"))
-
- (independent
- ("a" "α«à")
- ("aa" "α«å")
- ("A" "α«å")
- ("i" "α«ç")
- ("ii" "α«ê")
- ("I" "α«ê")
- ("u" "α«ë")
- ("uu" "α«è")
- ("U" "α«è")
- ("e" "α«Ä")
- ("E" "α«Å")
- ("ee" "α«Å") ; not in ITRANS Tamil table
- ("ai" "α«É")
- ("o" "α«Æ")
- ("O" "α«ô")
- ("oo" "α«ô") ; not in ITRANS Tamil table
- ("au" "α«ö")
- (".n" "α«é") ; not in ITRANS Tamil table
- ("M" "α«é") ; not in ITRANS Tamil table
- ("q" "α«â")
- ("H" "α«â") ; not in ITRANS Tamil table
- (".h" "்") ; not in ITRANS Tamil table
- ("0" "Ừ")
- ("1" "௧")
- ("2" "α»¿")
- ("3" "௩")
- ("4" "Ử")
- ("5" "α»½")
- ("6" "α»¼")
- ("7" "α»¡")
- ("8" "α»«")
- ("9" "α»»")
- ("#" "்ர") ; not in ITRANS Tamil table
- ("$" "ர்") ; not in ITRANS Tamil table
- ("^" "த்ர") ; not in ITRANS Tamil table
- ((KP_1) "௧")
- ((KP_2) "α»¿")
- ((KP_3) "௩")
- ((KP_4) "Ử")
- ((KP_5) "α»½")
- ((KP_6) "α»¼")
- ((KP_7) "α»¡")
- ((KP_8) "α»«")
- ((KP_9) "α»»")
- ((KP_0) "Ừ")
- ((S-\ ) "ΓÇî") ; not in ITRANS Tamil table
- ((C-@) "ΓÇì") ; not in ITRANS Tamil table
- ("SRI" "ஶ்ரீ"))
-
- (dependent
- ("a" (delete @-) "")
- ("aa" (delete @-) "ா")
- ("A" (delete @-) "ா")
- ("i" (delete @-) "ி")
- ("ii" (delete @-) "ீ")
- ("I" (delete @-) "ீ")
- ("u" (delete @-) "ு")
- ("uu" (delete @-) "ூ")
- ("U" (delete @-) "ூ")
- ("e" (delete @-) "ெ")
- ("E" (delete @-) "ே")
- ("ee" (delete @-) "ே") ; not in ITRANS Tamil table
- ("ai" (delete @-) "ை")
- ("o" (delete @-) "ொ")
- ("O" (delete @-) "ோ")
- ("oo" (delete @-) "ோ") ; not in ITRANS Tamil table
- ("au" (delete @-) "ௌ"))
-
- (return
- ((Return)))
-
- (backspace
- ((BackSpace) (undo))))
-
- (state
- (init
- (starter (pushback 1) (shift intermediate)))
-
- (intermediate
- (consonant (shift second))
- (independent (shift init))
- (backspace)
- (return (shift init))
- (nil (shift init)))
-
- (second
- (consonant)
- (dependent (shift init))
- (backspace)
- (return (shift init))))
-
- ;; Local Variables:
- ;; coding: utf-8
- ;; mode: emacs-lisp
- ;; End:
-